package ycj.learn.redis.service;

import ycj.learn.redis.model.User;

import java.util.List;

public interface IContactService {

    User fetchOne(Long id);

    boolean delOne(Long id);

    boolean addOne(User user);

    List<User> listAll();
}
